package com.nd.sdp.android.noIoC;

import com.nd.sdp.android.noIoC.fly.AirPlaneFly;
import com.nd.sdp.android.noIoC.fly.IFly;

public class Person {

    private IFly fly;

    public Person() {
        this.fly = new AirPlaneFly();
    }

    public void fly(){
        fly.fly();
    }

}
